package com.wigem.approve.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wigem.framework.mybatis.core.mapper.BaseMapperX;
import com.wigem.approve.entity.GeApproveLogEntity;
import com.wigem.approve.vo.GeApproveLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【审批日志】Mapper接口
 *
 * @author YMY
 * @date 2023-08-09
 */
@Mapper
public interface GeApproveLogMapper extends BaseMapperX<GeApproveLogEntity> {

    /**
    * 查询GeApproveLog列表
    *
    */
    List<GeApproveLogEntity> getList(GeApproveLogVo geApproveLogVo);

    IPage<GeApproveLogEntity> getPageList(IPage<GeApproveLogEntity> page, @Param("params") GeApproveLogVo geApproveLogVo);

    /**
     * 查询GeApproveLog实体
     *
     */
    GeApproveLogEntity getEntity(String id);

    /**
     * GeApproveLog新增
     *
     */
    int insert(GeApproveLogEntity geApproveLogentity);


    /**
     * GeApproveLog修改
     *
     */
    int update(GeApproveLogEntity geApproveLogentity);

    /**
     * GeApproveLog删除
     *
     */
    int delete(String id);


    /**
     * GeApproveLog移除
     *
     */
    int remove(String id);
}
